package cn.kawa.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.kawa.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Shop extends BaseDomain {
    @Excel(name="店铺名称",width = 40)
    private String name;
    @Excel(name="店铺电话",width = 40)
    private String tel;
    @Excel(name="注册日期",width = 30,exportFormat="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date registerTime = new Date();
    @Excel(name="审核状态",width = 40)
    private Integer state=1;
    @Excel(name="店铺地址",width = 40)
    private String address;
    @Excel(name="logo",width = 40)
    private String logo;
    //店长id
    @Excel(name="店长id",width = 40)
    private Long admin_id;
    //店长实体
    private  Employee admin;

}
